import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 自定义组件
import cTable from "@/components/c_table";

// api全局挂载
import * as $api from "@/api/index"
// import * as $api from "@/api/table/index"
console.log($api);
Vue.prototype.$api = $api.module


// 注册自定义组件
Vue.component('c-table', cTable);


Vue.config.productionTip = false
Vue.use(ElementUI);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
